package com.sl.au.service;

import java.util.Date;
import java.util.List;
import java.util.Map;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Sort.Direction;

import com.sl.au.entity.User;
import com.sl.au.entity.ViewForEventRegister;
import com.sl.au.entity.ViewForUserScoreAnalysis;
import com.sl.au.repository.UserRepository;
import com.sl.au.repository.ViewForUserScoreAnalysisRepository;

public interface ViewForUserScoreAnalysisService extends BaseService {
	ViewForUserScoreAnalysisRepository getRepository();

	List<ViewForUserScoreAnalysis> getPage(int start, int length, String key, String orderName, String dir);

	int getCount(String key);
	
	Map<String, Object> getAnalysisData(Date beginDate, Date endDate, String id);
	
	List<Map<String, Object>> getTowerUser(Date beginDate, Date endDate, String gridId, String gradingId);
	
	Map<String, Object> getEventAnalysisData(Date beginDate, Date endDate);

}
